import request from "@/utils/request"

export function getAllQualificationByPurchaserId(data) {
    return request({
        url: '/getAllQualificationByPurchaserId',
        method: 'get',
        params: data
    })
}

export function getAllProductsByPurchaserId(data) {
    return request({
        url: '/getAllProductsByPurchaserId',
        method: 'get',
        params: data
    })
}

export function verifyQualification(data) {
    return request({
        url: '/verifyQualification',
        method: 'put',
        data
    })
}

export function getAllQualificationHasAppliedByPurchaserId(data) {
    return request({
        url: '/getAllQualificationHasAppliedByPurchaserId',
        method: 'get',
        params:data
    })
}